import { postMethod, getMethod } from "../../../../utils/http";

// 话题列表
export async function historyList(schoolId=getSession('user-info')==0?'0':JSON.parse(getSession('user-info')).id) {
    return await postMethod(`xyxy/wxapp/web/blog/tagList?schoolId=${schoolId}`, {});
}
// 话题修改
export async function edit(data) {
    return await postMethod(`xyxy/wxapp/web/blog/editTag`, {
        params: {
            ...data,
        }
    });
}
export async function getSchoolList() {
    return await postMethod(`xyxy/wxapp/web/school/list`, {});
}


